import request from '@/utils/request-new'


//查询账户信息
export function getSensorManageInfo(data) {
    return request({
        url:'/hangf/getSensorManageInfo',
        method: 'get',
        params:data,
    })
}
//链接状态
export function searchSenorInfo() {
    return request({
        url:'/hangf/searchSenorInfo',
        method: 'get'
    })
}
//预警信息统计
export function getWarningdatas(data) {
    return request({
        //url:'/hangf/getWarningdatas',
		url:'/hangf/getWarndateNew',
        method: 'get',
        params:data,
    })
}

//最新数据
export function getSensordatas(data) {
    return request({
        url:'/hangf/getSensordatas',
        method: 'get',
        params:data,
    })
}

//地图设备位置分布
export function getDevicesHasPosition(data) {
    return request({
        url:'/hangf/getDevicesHasPosition',
        method: 'get',
        params:data,
    })
}

//终端运行统计
export function getSensosTypeCounts(data) {
  return request({
    url:'/hangf/getSensosTypeCounts',
    method: 'get',
    params:data,
  })
}

//油品信息统计
export function getOilInfo(data) {
  return request({
    url:'/hangf/getOilInfo',
    method: 'get',
    params:data,
  })
}

//设备类型统计
export function getDeviceTypeStatistics(data) {
  return request({
    url:'/hangf/getDeviceTypeStatistics',
    method: 'get',
    params:data,
  })
}

//获取code
export function getSensorsCodes(data) {
  return request({
    url:'/hangf/getSensorsCodes',
    method: 'get',
    params:data,
  })
}
